package com.ccrfid.rmc6.pojo.open8200.resp;

import java.util.StringJoiner;

public class DataCamera {
    private String cameraId;            //通道Id, 1
    private String indexCode;           //索引编号, 16082611254372195927
    private String name;                //监控点名称
    private String parentIndexCode;     //父组织编号
    private String cameraType;          //摄像机类型(0枪机,1半球,2快球3带云台枪机)
    private String pixel;               //摄像头像素
    private String latitude;
    private String longitude;
    private String description;
    private String isOnline;            //是否在线(1在线,0不在线)
    private String controlUnitName;
    private String decodeTag;           //解码标签
    private Long createTime;
    private Long updateTime;

    private String appCode;             //来源平台
    private String cascadeCode;         //级联
    private Integer chanNum;            //通道号
    private String deviceIdx;           //设备编号
    private Integer id;
    private String matrixCode;          //矩阵编码
    private String originalIndexCode;   //唯一编号
    private String privCodes;           //权限码
    private String recLocation;         //录像存储的详细位置
    private String recordPos;           //是否录像(1录像,2不录像)
    private Integer seqIdx;             //排序字段
    private String treeNodeIndexCode;   //所属组织
    private String treeNodePath;        //树节点路径
    private String typeCode;            //资源类型

    public String getCameraId() {
        return cameraId;
    }

    public void setCameraId(String cameraId) {
        this.cameraId = cameraId;
    }

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentIndexCode() {
        return parentIndexCode;
    }

    public void setParentIndexCode(String parentIndexCode) {
        this.parentIndexCode = parentIndexCode;
    }

    public String getCameraType() {
        return cameraType;
    }

    public void setCameraType(String cameraType) {
        this.cameraType = cameraType;
    }

    public String getPixel() {
        return pixel;
    }

    public void setPixel(String pixel) {
        this.pixel = pixel;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline;
    }

    public String getControlUnitName() {
        return controlUnitName;
    }

    public void setControlUnitName(String controlUnitName) {
        this.controlUnitName = controlUnitName;
    }

    public String getDecodeTag() {
        return decodeTag;
    }

    public void setDecodeTag(String decodeTag) {
        this.decodeTag = decodeTag;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getCascadeCode() {
        return cascadeCode;
    }

    public void setCascadeCode(String cascadeCode) {
        this.cascadeCode = cascadeCode;
    }

    public Integer getChanNum() {
        return chanNum;
    }

    public void setChanNum(Integer chanNum) {
        this.chanNum = chanNum;
    }

    public String getDeviceIdx() {
        return deviceIdx;
    }

    public void setDeviceIdx(String deviceIdx) {
        this.deviceIdx = deviceIdx;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMatrixCode() {
        return matrixCode;
    }

    public void setMatrixCode(String matrixCode) {
        this.matrixCode = matrixCode;
    }

    public String getOriginalIndexCode() {
        return originalIndexCode;
    }

    public void setOriginalIndexCode(String originalIndexCode) {
        this.originalIndexCode = originalIndexCode;
    }

    public String getPrivCodes() {
        return privCodes;
    }

    public void setPrivCodes(String privCodes) {
        this.privCodes = privCodes;
    }

    public String getRecLocation() {
        return recLocation;
    }

    public void setRecLocation(String recLocation) {
        this.recLocation = recLocation;
    }

    public String getRecordPos() {
        return recordPos;
    }

    public void setRecordPos(String recordPos) {
        this.recordPos = recordPos;
    }

    public Integer getSeqIdx() {
        return seqIdx;
    }

    public void setSeqIdx(Integer seqIdx) {
        this.seqIdx = seqIdx;
    }

    public String getTreeNodeIndexCode() {
        return treeNodeIndexCode;
    }

    public void setTreeNodeIndexCode(String treeNodeIndexCode) {
        this.treeNodeIndexCode = treeNodeIndexCode;
    }

    public String getTreeNodePath() {
        return treeNodePath;
    }

    public void setTreeNodePath(String treeNodePath) {
        this.treeNodePath = treeNodePath;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", DataCamera.class.getSimpleName() + "[", "]")
                .add("cameraId='" + cameraId + "'")
                .add("indexCode='" + indexCode + "'")
                .add("name='" + name + "'")
                .add("parentIndexCode='" + parentIndexCode + "'")
                .add("cameraType='" + cameraType + "'")
                .add("pixel='" + pixel + "'")
                .add("latitude='" + latitude + "'")
                .add("longitude='" + longitude + "'")
                .add("description='" + description + "'")
                .add("isOnline='" + isOnline + "'")
                .add("controlUnitName='" + controlUnitName + "'")
                .add("decodeTag='" + decodeTag + "'")
                .add("createTime=" + createTime)
                .add("updateTime=" + updateTime)
                .toString();
    }
}
